package com.aishua.aishuawallet.activity;

import android.content.Intent;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

import com.aishua.aishuawallet.R;

/**
 * Created by aishua on 2018/8/8.
 */

public class CreatWalletActivity extends BaseActivity {

    private Button btn_createwallet;
    private Button btn_importwallet;

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_creatwallet);
        initVIew();
        bussiness();
    }


    private void initVIew() {

        btn_createwallet = findViewById(R.id.btn_createwallet);
        btn_importwallet = findViewById(R.id.btn_importwallet);

    }

    private void bussiness() {

        btn_importwallet.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

                Toast.makeText(CreatWalletActivity.this, "开发中...", Toast.LENGTH_SHORT).show();
            }
        });

        btn_createwallet.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

                Intent intent = new Intent(CreatWalletActivity.this, CreatWallettwoActivity.class);
                startActivity(intent);
                finish();


            }
        });


    }


}
